home *** CD-ROM | disk | FTP | other *** search
- global oDrawStage, oOrbitCenter, oOrbitNodes, oOrbitButtons, oRollText, oExitButton, oBackButton, oECardsInstr, oECardsPics, gMenuNum, oTextAnim, gPrevMill, pGovTicks, gFPS, oMusicButton, wMusic, gCloseWinFlag, oVolMeter
-
- on exitFrame me
- gFPS = float(1000) / float(the milliSeconds - gPrevMill)
- gPrevMill = the milliSeconds
- if gMenuNum = EMPTY then
- repeat with i = 1 to count(oECardsPics)
- moveECardsPics(oECardsPics[i])
- end repeat
- if (oECardsInstr <> EMPTY) and (oECardsInstr <> VOID) then
- moveECardsInstr(oECardsInstr)
- end if
- end if
- repeat with i = 1 to count(oOrbitNodes)
- moveNodes(oOrbitNodes[i])
- end repeat
- if (oOrbitCenter <> EMPTY) and (oOrbitCenter <> VOID) then
- moveOrbitCenter(oOrbitCenter)
- end if
- if (oRollText <> EMPTY) and (oRollText <> VOID) then
- blendRollText(oRollText)
- end if
- if (oBackButton <> EMPTY) and (oBackButton <> VOID) then
- checkBack(oBackButton)
- end if
- if (oExitButton <> EMPTY) and (oExitButton <> VOID) then
- checkExit(oExitButton)
- end if
- repeat with i = 1 to count(oTextAnim)
- animText(oTextAnim[i])
- end repeat
- if (oVolMeter <> EMPTY) and (oVolMeter <> VOID) then
- checkVolMeter(oVolMeter)
- end if
- checkVolMouse()
- if (oDrawStage <> EMPTY) and (oDrawStage <> VOID) then
- oDrawStage.mainLoop()
- end if
- if gCloseWinFlag = 1 then
- setUpAudio()
- oDrawStage.pPunchFlag = 0
- gCloseWinFlag = 0
- end if
- go(the frame)
- end
-